home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb.new / gdb-3.98 / gdb / tm-sunos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-01  |  1.3 KB  |  32 lines

  1. /* Copyright (C) 1990 Free Software Foundation, Inc.
  2.  
  3. This file is part of GDB.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. /* This is for SunOS version 4, not for earlier versions.  */
  20.  
  21. #define CLEAR_SOLIB clear_solib
  22. #define SOLIB_ADD(filename, from_tty) solib_add (filename, from_tty)
  23. #define SOLIB_XFER_MEMORY(memaddr, myaddr, len, write) solib_xfer_memory (memaddr, myaddr, len, write)
  24.  
  25. /* If we can't set a breakpoint, and it's in a shared library, just
  26.    disable it.  */
  27. #define DISABLE_UNSETTABLE_BREAK(addr) solib_address(addr)
  28. extern int solib_address ();            /* solib.c */
  29. extern int solib_xfer_memory ();
  30. extern void solib_add ();
  31. extern void clear_solib ();
  32.